package com.jianhua.appmarket.module.service.system;

import com.jianhua.appmarket.common.base.BaseService;
import com.jianhua.appmarket.module.entity.system.Dictionary;
import com.jianhua.appmarket.module.entity.system.DictionaryType;
import com.jianhua.appmarket.module.model.system.UserVO;

import java.util.List;

public interface IDictionaryService extends BaseService<DictionaryType> {

    List<Dictionary> listAllByTypeId(Long typeId);

    Boolean saveOrEditDic(Dictionary dic, UserVO user);

    Boolean editDic(Dictionary dic, UserVO user);

    Boolean deleteDic(Long dicId);
}
